import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Router, IndexRoute, Route, hashHistory } from 'react-router'

import App from './util-page/App'
import type from './util-page/type'
import isObject from './util-page/isObject'
import last from './util-page/last'
import isObjectEmpty from './util-page/isObjectEmpty'
import isShallowEqual from './util-page/isShallowEqual'
import isNull from './util-page/isNull'

render(
	<Router history={hashHistory}>
		<Route path="/" component={App}>
      <Route path="type" component={type}/>
      <Route path="is-object" component={isObject}/>
      <Route path="last" component={last}/>
      <Route path="is-object-empty" component={isObjectEmpty}/>
      <Route path="is-shallow-equal" component={isShallowEqual}/>
      <Route path="is-null" component={isNull}/>
		</Route>
	</Router>,
	document.getElementById('root')
)
